home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Merciful 2
/
Merciful - Disc 2.iso
/
software
/
i
/
imagefxv2.1a.lha
/
ImageFX
/
Rexx
/
AutoFX
/
Crystallize.ifx.pre
< prev
next >
Wrap
Text File
|
1996-03-02
|
699b
|
34 lines
/*
* Crystallize.ifx.pre
* Written by Thomas Krehbiel
*
* Crystallize Effect.
*
* Inputs:
* Word(Arg(1),1) = Sequence number
* Word(Arg(1),2) = Total number of frames (N)
*
* Returns:
* 0 if successful, non-zero on failure
*
*/
OPTIONS RESULTS
base = 'Autofx_Crystallize_'
gridx = GETCLIP(base||'gridx') ; IF gridx = "" THEN gridx = 10
gridy = GETCLIP(base||'gridy') ; IF gridy = "" THEN gridy = 10
Gadget.1 = 'INTEGER 100 5 50 14 "Grid X:"' gridx
Gadget.2 = 'INTEGER 100 20 50 14 "Grid Y:"' gridy
Gadget.3 = 'END'
NewComplexRequest '"Crystallize"' Gadget 220 45
IF rc ~= 0 THEN EXIT rc
CALL SETCLIP(base||'gridx', result.1)
CALL SETCLIP(base||'gridy', result.2)
EXIT